﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using CTIClassLibrary;

namespace CTIPayService
{
    public partial class test : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            object test = Common.DB.Select(Tables.t_CPNR_Transfer, Tables.t_CPNR_Transfer.transID.Count())
                .ToScalar();
            if (test != null)
                Response.Write("database works fine!");
            else
                Response.Write("something goes wring?");
        }
    }
}
